Configure the Metric Type for IS-IS Routes
Before you begin
-
You must configure the required SPBM and IS-IS infrastructure.
-
You must log on to the route-map configuration mode in the CLI.
About this task
Use this procedure to configure the IS-IS external metric-type by using a route-map for any of the following cases:
-
accept a remote IS-IS route with the help of IS-IS accept policies
-
redistribute routes from other protocols into IS-IS
Caution
To use IS-IS Route Tagging on GRT IS-IS routes, you must also configure the metric-type as external. If you want to use IS-IS tags on GRT as internal routes, all Fabric nodes must be above a minimum software version. Any switch in the SPB Fabric that runs earlier software versions triggers an exception if you use metric type internal. To ensure this does not occur, if you attempt to configure a tag and the metric-type is not external, the switch reminds you to upgrade the software on all devices. You must ensure all devices in the network run the minimum required software.
Procedure
Examples
Configure the metric type for IS-IS routes:
Switch:1> enable Switch:1# configure terminal Switch:1(config)# route-map ro1 10 Switch:1(route-map)# set metric-type-isis internal Switch:1(route-map)# permit Switch:1(route-map)# enable
Set metric type for IS-IS routes in accept policies:
Switch:1> enable Switch:1# configure terminal Switch:1(config)# route-map ro1 10 Switch:1(route-map)# set metric-type-isis internal Switch:1(route-map)# permit Switch:1(route-map)# enable Switch:1(route-map)# exit Switch:1(config)# router isis Switch:1(config-isis)# accept route-map ro1 Switch:1(config-isis)# exit Switch:1(config)# isis apply accept
Set metric type to redistribute routes from other protocols into IS-IS:
Switch:1> enable Switch:1# configure terminal Switch:1(config)# route-map ro1 10 Switch:1(route-map)# match metric-type-isis internal Switch:1(route-map)# permit Switch:1(route-map)# enable Switch:1(route-map)# exit Switch:1(config)# router isis Switch:1(config-isis)# redistribute bgp route-map ro1 Switch:1(config-isis)# exit Switch:1(config)# isis apply redistribute
Variable Definitions
The following table defines parameters for the set metric-type-isis command.
Variable |
Value |
---|---|
metric-type-isis {any|internal|external} |
Specifies the IS-IS metric type:
|